import React from 'react'
import css from './index.scss'



const Home = props => <div className="green">
    Hello React!!
</div>
/* class Home extends Component {
    constructor(props) {
        super(props);
    }
    handleText = () => {
        this.props.history.push({
            pathname: '/movie',
            state: { name: ' sunny' }
        });
    };
    componentDidMount() {}
    render() {}
}
 */
export default Home
/* //mapStateToProps 把store里的状态对象映射成属性
const mapStateToProps = state => ({
  list: state
});
//把dispatch方法映射成ui组件的属性
const mapDispatchToProps = dispatch => ({
  addValue: value => dispatch({ type: ADD, value })
});
export default connect(
  mapStateToProps,
  mapDispatchToProps
)(Home); */
